<?php
/* @var $this MenuPackageController */
/* @var $model MenuPackage */

$this->breadcrumbs=array(
	'Menu Packages'=>array('index'),
	$model->menu_id,
);

$this->menu=array(
	array('label'=>'List MenuPackage', 'url'=>array('index')),
	array('label'=>'Create MenuPackage', 'url'=>array('create')),
	array('label'=>'Update MenuPackage', 'url'=>array('update', 'id'=>$model->menu_id)),
	array('label'=>'Delete MenuPackage', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->menu_id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage MenuPackage', 'url'=>array('admin')),
);
?>

<h1>View MenuPackage #<?php echo $model->menu_id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
                'menu_id',
            
    'FoodPackage' => array(  
            'label'=>'Package',
        
            'type'=>'raw',
            'value'=>CHtml::link(CHtml::encode($model->foodPackage->package_name),
                                 array('FoodPackage/view','id'=>$model->foodPackage->id)),),
            
	'Meal' => array(  
            'label'=>'Food Name',
            'type'=>'raw',
            'value'=>CHtml::link(CHtml::encode($model->meal->food_name),
                                 array('Meal/view','id'=>$model->meal->id)),),
		'quantity_id',
	),
)); ?>
